package com.devops.shiro.vm;

import com.devops.admin.po.DOSRolePo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 将此对象存入shiro认证对象中，因为其他服务也要用，所以写在api模块中
 * @Description
 * @Author Melo
 * @Date 2019/6/10 0010 下午 9:49
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BaseUserVM implements Serializable {
    private String id;

    private Integer userType;

    private String loginName;

    private String realName;

    private String nickName;

    private String password;

    private String imageId;

    private Boolean superman;

    private String phoneNumber;

    private String signature;

    private String email;

    private String creatUser;

    private Date creatDate;

    private String updateUser;

    private Date updateDate;

    private Integer status;

    private Integer roleId;

    private Integer roleLevel;

    private String roleName;

    private Boolean adminRole;

    private List<DOSRolePo> roles;

    private String idToken;
}
